Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bad conditional in key loader causing the wrong key to be loaded #2368

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

johnBartos
Copy link
Collaborator

This PR will...

Revert the conditional which decides whether to return the cached key to it's pre-TS state. The current logic causes the cached key to be returned for segments of different levels, which causes AES decryption to fail.

Why is this Pull Request needed?

So that AES decryption works

Are there any points in the code the reviewer needs to double check?

No

@johnBartos johnBartos added the Bug label Sep 13, 2019
@johnBartos johnBartos added this to the 0.13.0 milestone Sep 13, 2019
@robwalch robwalch self-requested a review September 25, 2019 17:56
@robwalch
Copy link
Collaborator

@itsjamie merging without adding to release notes as this appears to be a fix to a regression introduced with some of the type changes.

@robwalch robwalch merged commit 043118a into master Sep 25, 2019
@itsjamie itsjamie deleted the bugfix/key-loader-ts-bug branch April 12, 2020 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants